import request from '@/utils/request.js'
// 封装登录请求
export const login = (data) => {
  return request({
    url: '/sys/login',
    method: 'POST',
    data
  })
}

// 封装获取用户信息请求
export const getUserInfo = (data) => {
  return request({
    url: '/sys/profile'
  })
}
